package com.liehacker.android.etcs;


import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.liehacker.android.R;
import com.liehacker.android.ontop.LiehackerSuperActivity;
import com.liehacker.android.util.Util;

public class MyIntentActivity extends LiehackerSuperActivity{
	
	private Button _btnIntentDial;
	private Button _btnIntentCall;
	private Context _context;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.intent_layout);
		
		_btnIntentDial = (Button)findViewById(R.id.button1);
		_btnIntentCall = (Button)findViewById(R.id.button2); 
		
		_btnIntentDial.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View arg0) {				
				Util.UtilIntentActionDial(MyIntentActivity.this, "01031538118");
			}
		});
		
		_btnIntentCall.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View arg0) {				
				Util.UtilIntentActionCall(MyIntentActivity.this, "01031538118");
			}
		});
		
	}
	
		
}
